<style src="./swap-hot.css" scoped></style>
<template>
  <button  class="btn btn-sm btn-primary" @click="showChangeModal = true">交换组合位置</button>
  <vue-modal
    title="交换组合位置"
    ok-text="提交"
    cancel-text="取消"
    :show.sync="showChangeModal"
    effect="fade"
    :small="true"
    :width="460"
    :callback="submit">
    <div slot="modal-body" class="modal-body">
      <form class="form-horizontal" role="form" v-el:swap-form>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*组合一ID</label>
          <div class="col-sm-9 text-left">
            <input type="number" class="form-control" v-model="fromBetaId">
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*组合二ID</label>
          <div class="col-sm-9 text-left">
            <input type="number" class="form-control" v-model="toBetaId">
          </div>
        </div>
      </form>
    </div>
  </vue-modal>
</template>
<script src="./swap-hot.js"></script>
